package com.punch.course.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 课程图片表
 * </p>
 *
 * @author wjj
 * @since 2020-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("course_image")
public class CourseImage extends SuperEntity<CourseImage> {

    private static final long serialVersionUID = 1L;

    /**
     * 课程id
     */
    @TableField("course_id")
    private Long courseId;

    /**
     * 课程图片
     */
    @TableField("introduce_img")
    private String introduceImg;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
